#

| Chapter 2 UNIX Commands |

## nawk

    nawk [options] ['program'] [files] [variable=value]

New version of awk, with additional capabilities. Nawk is a pattern-matching language useful for manipulating data. See Section 11 for more information on nawk.

### Options

-f `file`

  Read program instructions from `file` instead of supplying `program` instructions on command line.

-F `regexp`

  Separate fields using regular expression `regexp`.

-v `variable`=`value`

  Assign `value` to `variable` before executing '`program`'. If specified at the end of the command line, assignment occurs after opening `files`.

Reference: mv |  | Reference: newform